Obtain Signature
Example for: https://fapi.xt.com/api/v1/public/symbol/detail?symbol=btc_usdt
The following is an example of placing an order in a call interface using echo openssl and curl tools in a Linux bash environment. appKey
and secret
shown below are for demonstration purposes only:
- appKey:
3976eb88-76d0-4f6e-a6b2-a57980770085
- secretKey:
bc6630d0231fda5cd98794f52c4998659beda290
Header Example
validate-appkey: 3976eb88-76d0-4f6e-a6b2-a57980770085 validate-timestamp: 1641446237201 validate-algorithms: HmacSHA256
Request Data
{
"type": "LIMIT",
"timeInForce": "GTC",
"side": "BUY",
"symbol": "btc_usdt",
"price": "39000",
"quantity": "2"
}